Some AGS Members aren't covered by C#'s base types and others are synonyms for existing methods, so we capture them here. NOTE: Extension properties don't exist in C#, so we have to implement some as extension methods e.g. string s.AsFloat becomes s.AsFloat()
static string Append(this string str, string appendText)
Returns a new string with the specified string appended to this string.
static string AppendChar(this string str, char extraChar)
static string AppendChar(this string str, int extraChar)
Returns a new string that has the extra character appended.
static int CompareTo(this string str, string otherString, bool caseSensitive)
Compares this string to the other string
static string Copy(this string str)
Creates a copy of the string (C# string passed by value, so already copied)
static int DayOfMonth(this DateTime dateTime)
Gets the DayOfMonth (1-31) component of the date. Has to be implemented as extension method, extension properties do not exist(!)
static bool EndsWith(this string str, string endsWithText, bool caseSensitive)
Checks whether this string ends with the specified text.
static int RawTime(this DateTime dateTime)
Gets the raw time value, useful for calculating elapsed time periods. Had to be implemented as extension method. Assumed ticks is right.
static string Replace(this string str, string lookForText, string replaceWithText, bool caseSensitive)
static string Replace(this string str, string oldValue, string newValue, StringComparison comparisonType)
Returns a copy of this string with all occurrences of LookForText replaced with ReplaceWithText.
static string ReplaceCharAt(this string str, int index, char newChar)
static string ReplaceCharAt(this string str, int index, Byte newChar)
Returns a new string, with the specified character changed.
static bool StartsWith(this string str, string startsWithText, bool caseSensitive)
Checks whether this string starts with the specified text.